//
//  UTEPedDB.h
//  uteped_sdk
//
//  Created by mateng on 2024/2/27.
//

#import <Foundation/Foundation.h>
#import <FMDB/FMDB.h>
#import "SimpleDB.h"

NS_ASSUME_NONNULL_BEGIN

@interface UTEPedDB : SimpleDB

+ (UTEPedDB*)shareInstance;

- (void)saveSleepData:(NSInteger)startTime endTime:(NSInteger)endTime models:(NSArray*)array address:(NSString*)address;
- (void)saveStressData:(NSInteger)startTime endTime:(NSInteger)endTime models:(NSArray*)array address:(NSString*)address;
- (void)saveWorkoutData:(NSInteger)startTime endTime:(NSInteger)endTime models:(NSArray*)array address:(NSString*)address;
- (void)updateWorkoutDetailData:(NSString*)detailStr startTime:(NSString*)startime address:(NSString*)address;
- (void)updateWorkoutGpsData:(NSString*)gpsStr startTime:(NSString*)startime address:(NSString*)address;
- (void)saveFitnessData:(NSInteger)startTime endTime:(NSInteger)endTime frameItems:(NSArray*)frameItems address:(NSString*)address;
- (void)removeData:(NSString*) address;

@end

NS_ASSUME_NONNULL_END
